package com.qingding.model;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;
import java.util.List;

/**
 * Created by Administrator on 2017-12-24.
 */

public class Remind extends LitePalSupport {
    private int id;
    private String title;
    private String dateAndTime;//date.time
    @Column(unique = true, defaultValue ="1")
    private String type;
    private String comment;
    private List<Remark> remarks;
    @Column(unique = true, defaultValue ="1")
    private int frequency;
    @Column(unique = true, defaultValue ="7")
    private int beforeDays;
    private boolean sitck;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDateAndTime() {
        return dateAndTime;
    }

    public void setDateAndTime(String dateAndTime) {
        this.dateAndTime = dateAndTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<Remark> getRemarks() {
        return remarks;
    }

    public void setRemarks(List<Remark> remarks) {
        this.remarks = remarks;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public int getBeforeDays() {
        return beforeDays;
    }

    public void setBeforeDays(int beforeDays) {
        this.beforeDays = beforeDays;
    }
    public boolean isSitck() {
        return sitck;
    }

    public void setSitck(boolean sitck) {
        this.sitck = sitck;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
